<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Event | lcc-framework(Server)</title>
	<meta name="description" content="Documentation for lcc-framework(Server)">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
	<script async src="../assets/js/search.js" id="search-script"></script>
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">lcc-framework(Server)</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../modules.html">lcc-framework(Server)</a>
				</li>
				<li>
					<a href="../modules/cocos_event_event.html">cocos/event/event</a>
				</li>
				<li>
					<a href="../modules/cocos_event_event.lcc.html">lcc</a>
				</li>
				<li>
					<a href="../modules/cocos_event_event.lcc.cocos.html">cocos</a>
				</li>
				<li>
					<a href="../modules/cocos_event_event.lcc.cocos.event.html">event</a>
				</li>
				<li>
					<a href="cocos_event_event.lcc.cocos.event.event.html">Event</a>
				</li>
			</ul>
			<h1>Class Event</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<dl class="tsd-comment-tags">
						<dt>en</dt>
						<dd><p>Base class of all kinds of events.</p>
						</dd>
						<dt>zh</dt>
						<dd><p>所有事件对象的基类，包含事件相关基本信息。</p>
						</dd>
					</dl>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">Event</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#bubbles" class="tsd-kind-icon">bubbles</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#currenttarget" class="tsd-kind-icon">current<wbr>Target</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#eventphase" class="tsd-kind-icon">event<wbr>Phase</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#propagationimmediatestopped" class="tsd-kind-icon">propagation<wbr>Immediate<wbr>Stopped</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#propagationstopped" class="tsd-kind-icon">propagation<wbr>Stopped</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#target" class="tsd-kind-icon">target</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#type" class="tsd-kind-icon">type</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="cocos_event_event.lcc.cocos.event.event.html#acceleration" class="tsd-kind-icon">ACCELERATION</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="cocos_event_event.lcc.cocos.event.event.html#at_target" class="tsd-kind-icon">AT_<wbr>TARGET</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="cocos_event_event.lcc.cocos.event.event.html#bubbling_phase" class="tsd-kind-icon">BUBBLING_<wbr>PHASE</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="cocos_event_event.lcc.cocos.event.event.html#capturing_phase" class="tsd-kind-icon">CAPTURING_<wbr>PHASE</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="cocos_event_event.lcc.cocos.event.event.html#keyboard" class="tsd-kind-icon">KEYBOARD</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="cocos_event_event.lcc.cocos.event.event.html#mouse" class="tsd-kind-icon">MOUSE</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="cocos_event_event.lcc.cocos.event.event.html#none" class="tsd-kind-icon">NONE</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="cocos_event_event.lcc.cocos.event.event.html#no_type" class="tsd-kind-icon">NO_<wbr>TYPE</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="cocos_event_event.lcc.cocos.event.event.html#touch" class="tsd-kind-icon">TOUCH</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#getcurrenttarget" class="tsd-kind-icon">get<wbr>Current<wbr>Target</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#gettype" class="tsd-kind-icon">get<wbr>Type</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#isstopped" class="tsd-kind-icon">is<wbr>Stopped</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#reuse" class="tsd-kind-icon">reuse</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="cocos_event_event.lcc.cocos.event.event.html#unuse" class="tsd-kind-icon">unuse</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Event<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, bubbles<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="base_lcc.lcc.cocos.event.event.html" class="tsd-signature-type" data-tsd-kind="Class">Event</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in cocos/event/event.ts:198</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>type: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The name of the event (case-sensitive), e.g. &quot;click&quot;, &quot;fire&quot;, or &quot;submit&quot;</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> bubbles: <span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>A boolean indicating whether the event bubbles up through the tree or not</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="base_lcc.lcc.cocos.event.event.html" class="tsd-signature-type" data-tsd-kind="Class">Event</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="bubbles" class="tsd-anchor"></a>
					<h3>bubbles</h3>
					<div class="tsd-signature tsd-kind-icon">bubbles<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:145</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>Indicate whether the event bubbles up through the hierarchy or not.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>表示该事件是否进行冒泡。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="currenttarget" class="tsd-anchor"></a>
					<h3>current<wbr>Target</h3>
					<div class="tsd-signature tsd-kind-icon">current<wbr>Target<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol"> = null</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:163</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>A reference to the currently registered target for the event.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>当前目标。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="eventphase" class="tsd-anchor"></a>
					<h3>event<wbr>Phase</h3>
					<div class="tsd-signature tsd-kind-icon">event<wbr>Phase<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:179</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>Indicates which phase of the event flow is currently being evaluated.
								Returns an integer value represented by 4 constants:</p>
								<ul>
									<li>Event.NONE = 0</li>
									<li>Event.CAPTURING_PHASE = 1</li>
									<li>Event.AT_TARGET = 2</li>
									<li>Event.BUBBLING_PHASE = 3
										The phases are explained in the [section 3.1, Event dispatch and DOM event flow]
									<a href="http://www.w3.org/TR/DOM-Level-3-Events/#event-flow">markdown</a>, of the DOM Level 3 Events specification.</li>
								</ul>
							</dd>
							<dt>zh</dt>
							<dd><p>事件阶段。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="propagationimmediatestopped" class="tsd-anchor"></a>
					<h3>propagation<wbr>Immediate<wbr>Stopped</h3>
					<div class="tsd-signature tsd-kind-icon">propagation<wbr>Immediate<wbr>Stopped<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:198</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>Stops propagation for current event immediately,
								the event won&#39;t even be dispatched to the listeners attached in the current target.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>立即停止当前事件的传递，事件甚至不会被分派到所连接的当前目标。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="propagationstopped" class="tsd-anchor"></a>
					<h3>propagation<wbr>Stopped</h3>
					<div class="tsd-signature tsd-kind-icon">propagation<wbr>Stopped<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:188</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>Stops propagation for current event.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>停止传递当前事件。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="target" class="tsd-anchor"></a>
					<h3>target</h3>
					<div class="tsd-signature tsd-kind-icon">target<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol"> = null</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:154</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>A reference to the target to which the event was originally dispatched.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>最初事件触发的目标。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="type" class="tsd-anchor"></a>
					<h3>type</h3>
					<div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:136</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>The name of the event (case-sensitive), e.g. &quot;click&quot;, &quot;fire&quot;, or &quot;submit&quot;.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>事件类型。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="acceleration" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> ACCELERATION</h3>
					<div class="tsd-signature tsd-kind-icon">ACCELERATION<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#x27;acceleration&#x27;</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:86</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>The type code of Acceleration event.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>加速器事件类型。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="at_target" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> AT_<wbr>TARGET</h3>
					<div class="tsd-signature tsd-kind-icon">AT_<wbr>TARGET<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 2</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:117</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>The target phase comprises only the event target node
								[markdown] (<a href="http://www.w3.org/TR/DOM-Level-3-Events/#event-flow">http://www.w3.org/TR/DOM-Level-3-Events/#event-flow</a>)</p>
							</dd>
							<dt>zh</dt>
							<dd><p>目标阶段仅包括事件目标节点。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="bubbling_phase" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> BUBBLING_<wbr>PHASE</h3>
					<div class="tsd-signature tsd-kind-icon">BUBBLING_<wbr>PHASE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 3</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:127</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>The bubbling phase comprises any subsequent nodes encountered on the return trip to the root of the hierarchy
								[markdown] (<a href="http://www.w3.org/TR/DOM-Level-3-Events/#event-flow">http://www.w3.org/TR/DOM-Level-3-Events/#event-flow</a>)</p>
							</dd>
							<dt>zh</dt>
							<dd><p>冒泡阶段， 包括回程遇到到层次根节点的任何后续节点。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="capturing_phase" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> CAPTURING_<wbr>PHASE</h3>
					<div class="tsd-signature tsd-kind-icon">CAPTURING_<wbr>PHASE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:107</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>The capturing phase comprises the journey from the root to the last node before the event target&#39;s node
								<a href="http://www.w3.org/TR/DOM-Level-3-Events/#event-flow">markdown</a></p>
							</dd>
							<dt>zh</dt>
							<dd><p>捕获阶段，包括事件目标节点之前从根节点到最后一个节点的过程。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="keyboard" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> KEYBOARD</h3>
					<div class="tsd-signature tsd-kind-icon">KEYBOARD<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#x27;keyboard&#x27;</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:78</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>The type code of Keyboard event.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>键盘事件类型。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="mouse" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> MOUSE</h3>
					<div class="tsd-signature tsd-kind-icon">MOUSE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#x27;mouse&#x27;</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:70</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>The type code of Mouse event.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>鼠标事件类型。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="none" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> NONE</h3>
					<div class="tsd-signature tsd-kind-icon">NONE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:97</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>Events not currently dispatched are in this phase.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>尚未派发事件阶段。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="no_type" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> NO_<wbr>TYPE</h3>
					<div class="tsd-signature tsd-kind-icon">NO_<wbr>TYPE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#x27;no_type&#x27;</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:53</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>Code for event without type.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>没有类型的事件。</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="touch" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> TOUCH</h3>
					<div class="tsd-signature tsd-kind-icon">TOUCH<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#x27;touch&#x27;</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in cocos/event/event.ts:62</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>en</dt>
							<dd><p>The type code of Touch event.</p>
							</dd>
							<dt>zh</dt>
							<dd><p>触摸事件类型。</p>
							</dd>
						</dl>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getcurrenttarget" class="tsd-anchor"></a>
					<h3>get<wbr>Current<wbr>Target</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Current<wbr>Target<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in cocos/event/event.ts:275</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>en</dt>
									<dd><p>Gets current target of the event                                                            <br/>
											note: It only be available when the event listener is associated with node.                <br/>
										It returns 0 when the listener is associated with fixed priority.</p>
									</dd>
									<dt>zh</dt>
									<dd><p>获取当前目标节点</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Object</span></h4>
							<ul>
								<li>The target with which the event associates.</li>
							</ul>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="gettype" class="tsd-anchor"></a>
					<h3>get<wbr>Type</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Type<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in cocos/event/event.ts:285</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>en</dt>
									<dd><p>Gets the event type.</p>
									</dd>
									<dt>zh</dt>
									<dd><p>获取事件类型。</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="isstopped" class="tsd-anchor"></a>
					<h3>is<wbr>Stopped</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Stopped<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in cocos/event/event.ts:262</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>en</dt>
									<dd><p>Checks whether the event has been stopped.</p>
									</dd>
									<dt>zh</dt>
									<dd><p>检查该事件是否已经停止传递。</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="reuse" class="tsd-anchor"></a>
					<h3>reuse</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">reuse<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, bubbles<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in cocos/event/event.ts:233</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>en</dt>
									<dd><p>Reinitialize the event for being used again after retrieved from the object pool.</p>
									</dd>
									<dt>zh</dt>
									<dd><p>重新初始化让对象池中取出的事件可再次使用。</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>type: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The name of the event (case-sensitive), e.g. &quot;click&quot;, &quot;fire&quot;, or &quot;submit&quot;</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> bubbles: <span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>A boolean indicating whether the event bubbles up through the tree or not</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="unuse" class="tsd-anchor"></a>
					<h3>unuse</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">unuse<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in cocos/event/event.ts:216</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>en</dt>
									<dd><p>Reset the event for being stored in the object pool.</p>
									</dd>
									<dt>zh</dt>
									<dd><p>重置事件对象以便在对象池中存储。</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class=" ">
						<a href="../modules.html">Exports</a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/cocos_event_event.html">cocos/event/event</a>
						<ul>
							<li class="current tsd-kind-namespace tsd-parent-kind-module">
								<a href="../modules/cocos_event_event.lcc.html">lcc</a>
								<ul>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="../modules/cocos_event_event.lcc.debug.html">DEBUG</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="../modules/cocos_event_event.lcc.events.html">Events</a>
									</li>
									<li class="current tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="../modules/cocos_event_event.lcc.cocos.html">cocos</a>
										<ul>
											<li class="current tsd-kind-namespace tsd-parent-kind-namespace">
												<a href="../modules/cocos_event_event.lcc.cocos.event.html">event</a>
											</li>
											<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
												<a href="../modules/cocos_event_event.lcc.cocos.memop.html">memop</a>
											</li>
										</ul>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="../modules/cocos_event_event.lcc.express.html">express</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="../modules/cocos_event_event.lcc.fs.html">fs</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="../modules/cocos_event_event.lcc.http.html">http</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="../modules/cocos_event_event.lcc.js.html">js</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="../modules/cocos_event_event.lcc.math.html">math</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="../modules/cocos_event_event.lcc.netdata.html">netdata</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="../modules/cocos_event_event.lcc.os.html">os</a>
									</li>
								</ul>
							</li>
						</ul>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
					<li class=" tsd-kind-class tsd-parent-kind-namespace">
						<a href="cocos_event_event.lcc.cocos.event.callbacklist.html" class="tsd-kind-icon">Callback<wbr>List</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-namespace">
						<a href="cocos_event_event.lcc.cocos.event.callbacksinvoker.html" class="tsd-kind-icon">Callbacks<wbr>Invoker</a>
					</li>
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-namespace">
						<a href="cocos_event_event.lcc.cocos.event.event.html" class="tsd-kind-icon">Event</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#bubbles" class="tsd-kind-icon">bubbles</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#currenttarget" class="tsd-kind-icon">current<wbr>Target</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#eventphase" class="tsd-kind-icon">event<wbr>Phase</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#propagationimmediatestopped" class="tsd-kind-icon">propagation<wbr>Immediate<wbr>Stopped</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#propagationstopped" class="tsd-kind-icon">propagation<wbr>Stopped</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#target" class="tsd-kind-icon">target</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#type" class="tsd-kind-icon">type</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="cocos_event_event.lcc.cocos.event.event.html#acceleration" class="tsd-kind-icon">ACCELERATION</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="cocos_event_event.lcc.cocos.event.event.html#at_target" class="tsd-kind-icon">AT_<wbr>TARGET</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="cocos_event_event.lcc.cocos.event.event.html#bubbling_phase" class="tsd-kind-icon">BUBBLING_<wbr>PHASE</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="cocos_event_event.lcc.cocos.event.event.html#capturing_phase" class="tsd-kind-icon">CAPTURING_<wbr>PHASE</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="cocos_event_event.lcc.cocos.event.event.html#keyboard" class="tsd-kind-icon">KEYBOARD</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="cocos_event_event.lcc.cocos.event.event.html#mouse" class="tsd-kind-icon">MOUSE</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="cocos_event_event.lcc.cocos.event.event.html#none" class="tsd-kind-icon">NONE</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="cocos_event_event.lcc.cocos.event.event.html#no_type" class="tsd-kind-icon">NO_<wbr>TYPE</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="cocos_event_event.lcc.cocos.event.event.html#touch" class="tsd-kind-icon">TOUCH</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#getcurrenttarget" class="tsd-kind-icon">get<wbr>Current<wbr>Target</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#gettype" class="tsd-kind-icon">get<wbr>Type</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#isstopped" class="tsd-kind-icon">is<wbr>Stopped</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#reuse" class="tsd-kind-icon">reuse</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="cocos_event_event.lcc.cocos.event.event.html#unuse" class="tsd-kind-icon">unuse</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-interface tsd-parent-kind-namespace">
						<a href="../interfaces/cocos_event_event.lcc.cocos.event.icallbacktable.html" class="tsd-kind-icon">ICallback<wbr>Table</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-namespace">
						<a href="../interfaces/cocos_event_event.lcc.cocos.event.ieventtarget.html" class="tsd-kind-icon">IEvent<wbr>Target</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-namespace">
						<a href="../interfaces/cocos_event_event.lcc.cocos.event.ieventified.html" class="tsd-kind-icon">IEventified</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="../modules/cocos_event_event.lcc.cocos.event.html#eventargumentsof" class="tsd-kind-icon">Event<wbr>Arguments<wbr>Of</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="../modules/cocos_event_event.lcc.cocos.event.html#eventcallbackof" class="tsd-kind-icon">Event<wbr>Callback<wbr>Of</a>
					</li>
					<li class=" tsd-kind-type-alias tsd-parent-kind-namespace">
						<a href="../modules/cocos_event_event.lcc.cocos.event.html#eventtarget" class="tsd-kind-icon">Event<wbr>Target</a>
					</li>
					<li class=" tsd-kind-variable tsd-parent-kind-namespace">
						<a href="../modules/cocos_event_event.lcc.cocos.event.html#eventtarget-1" class="tsd-kind-icon">Event<wbr>Target</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="../modules/cocos_event_event.lcc.cocos.event.html#eventify" class="tsd-kind-icon">Eventify</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace">
						<a href="../modules/cocos_event_event.lcc.cocos.event.html#applymixins" class="tsd-kind-icon">apply<wbr>Mixins</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>